package com.example.sendmessage;


public class UDPMessage {
    /**
     *返回消息
     */
    private String msg;
    /**
     * 状态码
     */
    private int code;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "UDPMessage{" +
                "msg='" + msg + '\'' +
                ", code=" + code +
                '}';
    }
}
